import json
import pandas as pd
if __name__ == '__main__':
    file_name = "./global_temperature.json"
    with open(file_name, 'r') as f_obj:
        load = json.load(f_obj)
        print load
    print (type(load))
    print load.keys()
    print load['data']
    print load['description']
    print "=================="
    print type(load['data'])
    data = pd.Series(load['data'],name='data')
    description= pd.Series(load['description'], name='description')
    concat = pd.concat([data, description], axis=1)
    print concat
    concat.to_csv('./tt.csv',index=None)